User-given input produces TypeError: list indices must be integers or slices not str

join shbcf.ru